<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<HTML 
xmlns="http://www.w3.org/1999/xhtml">
<HEAD><TITLE>管理登页</TITLE>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<LINK rel=stylesheet type=text/css href="<%=request.getContextPath()%>/css/on_index.css">
<SCRIPT type=text/javascript src="<%=request.getContextPath()%>/js/png.js"></SCRIPT>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.9.1.min.js"></script>
<SCRIPT language=JavaScript>
<!--
function checksubmit(){
	if (!isHost(form1.username.value))
	{
		alert("请输入合法的用户名！");
		return false;
	}
	if(form1.password.value==""){
		alert("请输入密码！");
		return false;
	}
	if(form1.v_code.value.length!=6){
		alert("请输入正确的验证码！");
		return false;
	}
	return true;
}

function isHost(host){

	var pattern=/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)$/;
	if(host.match(pattern)==null)
		return false;
	else
		return true;
}
$(document).ready(function(){
$("#VerifyCode").css("cursor","pointer").click(function(){
$(this).attr("src","code.php?"+Math.random());
});
});
//-->
</SCRIPT>


<META name=GENERATOR content="MSHTML 8.00.7600.16853"></HEAD>
<BODY>
<DIV class=on_indext>
<DIV class=on_index>
<DIV class=box>
<DIV class=box_logo><IMG class=png title=TOPLIAN-DNS管理登陆 
src="<%=request.getContextPath()%>/img/logo.png" width=460 height=40>
</DIV>
<DIV class=login>
<form:form action="login.do?method=doLogin" commandName="loginForm">
<TABLE class=login-body border=0 cellSpacing=0 cellPadding=0 align=center>
  <TBODY>
  <TR>
    <TD class=listt>登陆名：</TD>
    <TD align=left>
      <form:input path="loginId" cssClass="inputbg" maxlength="62" tabindex="1"/>
    </TD>
    <td><form:errors path="loginId" cssClass="error"/> </td>
  </TR>
  <TR>
    <TD class=listt>密码：</TD>
    <TD align=left>
      <form:password path="password" cssClass="inputbg" maxLength="25" tabIndex="1"/>
    </TD>
    <td><form:errors path="password" cssClass="error"/> </td>
  </TR>
  <TR>
    <TD class=listt></TD>
    <TD height=39 width=165 align=left>
    <INPUT 
      src="<%=request.getContextPath()%>/img/btn_login.gif" type=image 
    name=submit></TD>
  </TR>
  </TBODY>
</TABLE>
</form:form>
</DIV>
</DIV>
<DIV class="boxbg png"></DIV>
<DIV class="foot png">Copyright © 2014-2014 后台管理系统登录页 All rights reserved. </DIV>
</DIV>
</DIV>
</BODY>
</HTML>